package com.designpattern.structure.adapter.classadapter;

/**
 * @author Administration
 * @date 2021/10/15 - 16:08 - 星期五
 * @project 结构性模式中的适配器模式  类适配器  目标类
 * @package com.designpattern.structure.adapter.classadapter
 * @by 晨
 */
public class SDCardImpl implements SDCard {
    @Override
    public String readSD() {
        String s = "sd card read a msg :hello word SD";
        return s;
    }

    @Override
    public void writeSD(String msg) {
        System.out.println("sd card write msg : " + msg);
    }
}
